package com.vlin.scene.actuator.defaut;

import com.vlin.scene.actuator.AbstractSceneActuator;
import com.vlin.scene.actuator.ListSceneResolver;
import com.vlin.scene.actuator.TimerExecutor;

public class DefaultSceneActuator extends AbstractSceneActuator {

	private ListSceneResolver sceneResolver = new DefaultListSceneResolver();
	
	private TimerExecutor timerExecutor = new DefaultTimerExecutor();
	
	@Override
	public void setSceneResolver(ListSceneResolver resolver) {
		if(resolver != null)
			this.sceneResolver = resolver;
		
	}

	@Override
	public ListSceneResolver getSceneResolver() {

		return this.sceneResolver;
	}

	@Override
	public void setTimerExecutor(TimerExecutor executor) {
		if(executor != null)
			this.timerExecutor = executor;
	}

	@Override
	public TimerExecutor getTimerExecutor() {

		return this.timerExecutor;
	}

}
